#include <vector>
#include <iostream>

using std::cin;
using std::cout;
using std::endl;
using std::vector;

int main()
{
	vector<int> iv;
	int n;
	while(cin >> n)
	{
		iv.push_back(n);
	}

	int s = iv.size();
	int* ia = new int[s];
	int i = 0;
	for(vector<int>::const_iterator itr = iv.begin(); itr != iv.end(); itr++)
	{
		iv[i++] = *itr;
		cout << *itr << " ";
	}
	cout << endl;

	delete [] ia;

	return 0;
}
